package cn.kgc.springcloud.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author: mosin
 * @version: v1.0  2023/1/6
 */
@FeignClient(value = "HYSTRIX",fallback = HystrixControllerClientFallback.class)
public interface HystrixControllerClient {

    @RequestMapping("/hystrix/m1")
    String method1(@RequestParam("id") Integer id);
}
